//
//  YQPGoodInfoModel.h
//  MuYing
//
//  Created by caominglei on 2020/1/9.
//  Copyright © 2020 TBB. All rights reserved.
//

#import "YQPNetWorkingBaseModel.h"

@class YQPSkuInfoModel,YQPSkuImageListModel,YQPSpuCommentListModel,YQPSpuSaleAttrListCheckBySkuModel,YQPSpuSaleAttrValueListModel,MYImageBaseModel,YQPSkuModel;

NS_ASSUME_NONNULL_BEGIN

@interface YQPGoodInfoModel : YQPNetWorkingBaseModel

@property (nonatomic, strong) YQPSkuInfoModel *skuInfo;

@property (nonatomic, copy) NSString *skuSaleAttrValueKey;

@property (strong, nonatomic) NSArray *spuCommentList;

@property (strong, nonatomic) NSArray *spuSaleAttrListCheckBySku;

@property (nonatomic, strong) NSArray <MYImageBaseModel *> * imageList;

@property (nonatomic, strong) NSArray <YQPSkuModel *> * relatedProductsList;

@end

@interface YQPSkuInfoModel : YQPNetWorkingBaseModel

@property (nonatomic, copy) NSString * inventory;//库存

@property (nonatomic, copy) NSString *catalog3Id;

@property (nonatomic, copy) NSString *deliveryPoint;

@property (nonatomic, copy) NSString *freight;
//是否支持运费险 0-不支持 1-支持
@property (nonatomic, copy) NSString *freightInsurance;

@property (nonatomic, copy) NSString *ID;

@property (nonatomic, assign) BOOL isCollection;

@property (nonatomic, copy) NSString *price;

@property (nonatomic, copy) NSString *productId;
//是否支持极速退款 0-不支持 1-支持
@property (nonatomic, copy) NSString *quicknessRefund;
//是否满足七天无理由退款 0-不满足 1-满足
@property (nonatomic, copy) NSString *refundExplain;

@property (nonatomic, copy) NSString *salesVolume;

@property (nonatomic, copy) NSString *skuAttrValueList;

@property (nonatomic, copy) NSString *skuDefaultImg;

@property (nonatomic, copy) NSString *skuDesc;

@property (nonatomic, strong) NSArray *skuImageList;

@property (nonatomic, copy) NSString *skuName;

@property (nonatomic, copy) NSString *skuSaleAttrValueList;

@property (nonatomic, copy) NSString *weight;

@end

@interface YQPSkuImageListModel :YQPNetWorkingBaseModel

@property (nonatomic, copy) NSString *createTime;

@property (nonatomic, copy) NSString *ID;

@property (nonatomic, copy) NSString *imgName;

@property (nonatomic, copy) NSString *imgUrl;

@property (nonatomic, copy) NSString *isDefault;

@property (nonatomic, copy) NSString *skuId;

@end

@interface YQPSpuCommentListModel :YQPNetWorkingBaseModel

@property (nonatomic, copy) NSString *userId;

@property (nonatomic, copy) NSString *star;

@property (nonatomic, copy) NSString *showStatus;

@property (nonatomic, copy) NSString *productId;

@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *imgUrl;

@property (nonatomic, copy) NSString *productAttribute;

@property (nonatomic, copy) NSString *userIcon;

@property (nonatomic, copy) NSString *userNikeName;

@property (nonatomic, copy) NSString *commentId;

@property (nonatomic, copy) NSString *createTime;

@end

@interface YQPSpuSaleAttrListCheckBySkuModel :YQPNetWorkingBaseModel

@property (nonatomic, copy) NSString *ID;

@property (nonatomic, copy) NSString *productId;

@property (nonatomic, copy) NSString *saleAttrId;

@property (nonatomic, copy) NSString *saleAttrName;

@property (nonatomic, strong) NSArray *spuSaleAttrValueList;

@end

@interface YQPSpuSaleAttrValueListModel :YQPNetWorkingBaseModel

@property (nonatomic, copy) NSString *ID;

/// 自定义的购买数量
@property (nonatomic, copy) NSString *buyNumber;

@property (nonatomic, copy) NSString *productId;

@property (nonatomic, copy) NSString *saleAttrId;

@property (assign, nonatomic) BOOL isChecked;

@property (nonatomic, copy) NSString *saleAttrValueName;

@property (nonatomic, copy) NSString * inventory;//库存
@property (nonatomic, copy) NSString * price;
@property (nonatomic, copy) NSString * skuId;

//@property (assign, nonatomic) BOOL isSelected;
@end

NS_ASSUME_NONNULL_END
